package com.roam.service;

import com.roam.entity.User;
import com.roam.entity.UserConcreteInfo;
import com.roam.entity.UserConcreteUsebyUpdate;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

@Component
public interface UserService {
    User login(User user);

    User getInfoByEmail(String propertyValue);

    boolean saveRegisterInfo(String email);

    UserConcreteInfo getConcreteInfo(int id);



    Boolean markPlaceVisit(int userId, String city, int sceneId);

    Boolean updateUserInfo(UserConcreteUsebyUpdate userConcreteUsebyUpdate);

    Boolean judgeHavenVisited(int useID,int sceneID,String city);

    String saveAvatar(int userID, MultipartFile file);
}
